Timing Controller Capable of Switching Between Graphics Processing Units

ABSTRACT

A display system is disclosed that is capable of switching between graphics processing units (GPUs). Some embodiments may include a display system, including a display, a timing controller (T-CON) coupled to the display, the T-CON including a plurality of receivers, and a plurality of GPUs, where each GPU is coupled to at least one of the plurality of receivers, and where the T-CON selectively couples only one of the plurality of GPUs to the display at a time.

PRIORITY INFORMATION

This invention is a continuation application of U.S. patent application Ser. No. 12/347,312, entitled “Timing Controller Capable of Switching Between Graphics Processing Units”, tiled Dec. 31, 2008.

Related Applications

This application is related to, and incorporates by reference, the following applications: “Improved Switch for Graphics Processing Units,” U.S. application Ser. No. 12/347,364, filed Dec. 31, 2008; “Display System With Improved Graphics Abilities While Switching Graphics Processing Units,” U.S. application Ser. No. 12/347,413, filed Dec. 31, 2008; and “Improved Timing Controller for Graphics System”,” U.S. application Ser. No. 12/347,491, filed Dec. 31, 2008.

TECHNICAL FIELD

The present invention relates generally to graphics processing units (GPUs) of electronic devices, and more particularly to switching between multiple GPUs during operation of the electronic devices.

BACKGROUND

Electronic devices are ubiquitous in society and can be found in everything from wristwatches to computers. The complexity and sophistication of these electronic devices usually increase with each generation, and as a result, newer electronic devices often include greater graphics capabilities than their predecessors. For example, electronic devices may include multiple GPUs instead of a single GPU, where each of the multiple GPUs may have different graphics capabilities. In this manner, graphics operations may be shared between these multiple GPUs.

Often in a multiple GPU environment, it may become necessary to swap control of a display device among the multiple GPUs for various reasons. For example, the GPUs that have greater graphics capabilities may consume greater power than the GPUs that have lesser graphics capabilities. Additionally, since newer generations of electronic devices are more portable, they often have limited battery lives. Thus, in order to prolong battery life, it is often desirable to swap between the high-power GPUs and the lower-power GPUs during operation in an attempt to strike a balance between complex graphics abilities and saving power.

Regardless of the motivation for swapping GPUs, swapping GPUs during operation may cause defects in the image quality, such as image glitches. For example, conventional approaches may include fading out a display that is being driven by the current GPU, decoupling the current GPU's output signal from the display, and coupling the new GPU's output signal to the display.

Some conventional approaches may overcome introducing visual defects in the image quality. For example, some conventional approaches implement a digital multiplexer to switch among a plurality of GPUs. Unfortunately, this may increase the performance requirements, power usage, and cost of the display system.

Accordingly, methods and apparatuses that more efficiently switch between GPUs are needed.

SUMMARY

A display system is disclosed that is capable of switching between graphics processing units (GPUs). Some embodiments may include a display system, including a display, a timing controller (T-CON) coupled to the display, the T-CON including a plurality of receivers, and a plurality of GPUs, where each GPU is coupled to at least one of the plurality of receivers, and where the T-CON selectively couples only one of the plurality of GPUs to the display at a time.

Other embodiments may include a method for switching between GPUs in a display system, the method including updating a display from a first GPU, determining if the first GPU has entered a blanking interval, in the event that the first GPU has entered a blanking interval, determining if another component within the display system has requested a GPU switch, in the event that the another component within the display system has requested a GPU switch, switching to a second GPU, where the switching to the second GPU occurs without determining a timing signal of a video signal from the second GPU.

Other embodiments may include a T-CON, including a plurality of receivers, where each receiver comprises a PLL and the T-CON selectively couples to only one of a plurality of GPUs at a time.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 illustrates an exemplary approach to switching between GPUs without using a separate digital multiplexer.

FIG. 2A illustrates a conventional GPU switching approach using a separate digital multiplexer.

FIG. 2B illustrates an exemplary timing diagram of signals according to a conventional GPU switching approach using a separate digital multiplexer.

FIG. 3 illustrates an exemplary timing diagram of signals according to one embodiment that does not use a separate digital multiplexer.

FIG. 4 illustrates exemplary GPU switching operations.

FIG. 5 illustrates exemplary GPU switching operations during a horizontal blanking interval.

The use of the same reference numerals in different drawings indicates similar or identical items.

DETAILED DESCRIPTION OF THE INVENTION

The following discussion describes various embodiments that allow greater flexibility in switching between GPUs during operation of a display system without introducing visual artifacts into the image being displayed. Some embodiments may implement a timing controller that switches between GPUs without a separate multiplexer. In this manner, a separate multiplexer chip may be eliminated from the system, thereby reducing chip area, power consumption, and cost. Also, implementing a timing controller that switches between GPUs without a separate multiplexer may lessen the amount of time that a GPU switch takes.

Although one or more of these embodiments may be described in detail in the context of a computer graphics system, the embodiments disclosed should not be interpreted or otherwise used as limiting the scope of the disclosure, including the claims. In addition, one skilled in the art will understand that the following description has broad application, Accordingly, the discussion of any embodiment is meant only to be exemplary and is not intended to intimate that the scope of the disclosure, including the claims, is limited to these embodiments.

FIG. 1 illustrates one example of a display system 100 capable of switching between a plurality of GPUs without implementing a separate digital multiplexer. Prior to delving into the specifics of FIG. 1, it should be noted that the components listed in FIG. 1, and referred to below, are merely examples of one possible implementation. Other components, buses, and/or protocols may be used in other implementations without departing from the spirit and scope of the detailed description. Also, although one or more components of the display system 100 are represented using separate blocks, it should be appreciated that one or more of the components of the display system 100 may be part of the same integrated circuit.

Referring now to FIG. 1, the display system 100 may include a host computer system 105. In some embodiments, the host computer 105 may be a laptop computer operating on battery power. In other embodiments, the host computer 105 may be a desktop computer, enterprise server, or networked computer device that operates off of wall power. During operation, the host computer 105 may communicate control signals and other communication signals to various devices within the system.

The display system also may include multiple GPUs 110A-110 n. These GPUs 110A-110 n may exist within the computer system 100 in a variety of forms and configurations. In some embodiments, the GPU 110A may be implemented as part of another component within the system 100. For example, the GPU 110A may be part of a chipset in the host computer 105 (as indicated by the dashed line 115) while the other GPUs 110B-110 n may be external to the chipset. The chipset may include any variety of integrated circuits, such as a set of integrated circuits responsible for establishing a communication link between the GPUs 110-A-110 n and the host computer 105, such a Northbridge chipset.

The GPUs 110A-110 n may be further coupled to a timing controller (T-CON) 125 via plurality of receivers 126A-126 n. During operation, the receivers 126A-126 n within the T-CON 125 may receive video image and frame data from various components in the system. As the T-CON 125 receives these signals, it may process them and send them out (via a transmitter 127) in a format that is compatible with a display 130 coupled to the T-CON 125. The display 130 may be any variety including liquid crystal displays (LCDs), plasma displays, cathode ray tubes (CRTs) or the like. Likewise, the format of the video data communicated from the T-CON 125 to the display 130 may include a wide variety of formats, such as display port (DP), low voltage differential signaling (LVDS), etc.

During operation of the video system 100, the GPUs 110A-110 n may generate video image data along with frame and line synchronization signals. For example, the frame synchronization signals may include a vertical blanking interval (VBI) in between successive frames of video data. Further, the line synchronization signals may include a horizontal blanking interval (HBI) in between successive lines of video data. Data generated by the GPUs 110A-110 n may be communicated to the T-CON 125.

When the T-CON 125 receives these signals, it may process them and send them out in a format that is compatible with a display 130 coupled to the T-CON 125, such as DP, LVDS, etc. In some embodiments, this processing may include determining where the VBI and/or HBI occurs.

Referring still to FIG. 1, the GPUs 110A-110 n may have different operational capabilities. For example, as mentioned above, the GPU 110A may be integrated within another device in the display system 100, such as a GPU in the host computer 105, and as such, the GPU 110A may not be as graphically capable as the GPU 110B, which may be a stand alone discrete integrated circuit. In addition to having different operational capabilities, the GPUs 110A-110 n may consume different amounts of power. Because of this, it may be necessary to balance the desire to use the GPU 110B (i.e., have more graphical capabilities) with the desire to use the GPU 110A (i.e., consume less power) by switching among the GPUs 110A-110 n.

In order to perform switching between the GPUs 110A-110 n without introducing visual artifacts such as glitches or screen tearing, the switching between the GPUs 110A-110 n should occur during either the VBI and/or during the HBI. FIG. 2A illustrates a conventional switching configuration. As shown, conventional switching configurations often employ a digital multiplexer (D-MUX) 200 that includes a plurality of receivers 205A-205 n, each coupled to the GPUs 110A-110 n, and a transmitter 210 coupled to a receiver 212 within the T-CON 125. During operation, the D-MUX 200 decodes the video data received via the receivers 205A-205 n to determine if a switching window exists. In some embodiments, the switching window may be coincident with the location of the VBI or HBI within the video data in both the current and new GPUs. For example, the switching window may occur when there is an overlap of blanking (e.g., VBI or HBI) of the current GPU and blanking (e.g., VBI or HBI) of the new GPU. In other embodiments, the switching window may occur when the current GPU enters VBI or HBI and the new GPU has yet to enter VBI or HBI. After the D-MUX 200 has determined the location of the switching window, the D-MUX 200 switches between the GPUs 110A-110 n during this time and re-encodes the video data before sending it along to the T-CON 125. However such conventional approaches often increase performance requirements, power usage, and cost of the system 100. For example, each time the D-MUX 200 switches between signals, the T-CON 125 has to lock to a timing signal within each signal, which makes the GPU switch take longer to occur.

FIG. 2B illustrates GPU switching during blanking using conventional techniques. As shown, the GPU 110A and the GPU 110B may output signals that have slightly different frequencies. For example, the relative frequencies of the GPUs 110A and 110B may have a 1% difference in frequency that causes the two waveforms to shift relative to each other. In this manner, the blanking periods of each of the signals may overlap from time to time. When the blanking periods overlap, the D-MUX 200 may switch between the GPUs 110A and 110B. FIG. 2B illustrates the various time components T1, T2, and T3 associated with the GPU switch.

The time T1 corresponds to a time period between when the GPU 110A enters vertical blanking and prior to a time that the D-MUX 200 is capable of switching. In some embodiments, the time T1 may range between zero seconds and the time it takes to paint three scan lines to the display 130. The time T2 corresponds to a time associated with a switching window for the D-MUX 200. In some embodiments, such as those that implement LVDS, the time T2 may be four LVDS clock cycles. The time T3 corresponds to a time when a phase locked loop (PLL) within the receiver 212 locks onto a timing signal in the new signal coming from GPU 110B. As can be appreciated from inspection of the waveforms shown in FIG. 2B, the time T3 ends when the new GPU 110B ends its blanking period.

Some embodiments, however, may improve the system performance, power usage, and cost by switching between the GPUs without the use of the D-MUX 200. For example, as shown in the embodiment of FIG. 1, the T-CON 125 may be directly coupled to the GPUs 110A-110 n. Since the T-CON 125 may already know where the blanking interval occurs for both the current GPU and the new GPU, the T-CON 125 may determine where to switch without the decoding of the D-MUX 200 by integrating the receivers 205A-205 n into the T-CON 125 (shown as 126A-126 n in FIG. 1). This may provide several advantages over conventional approaches. First, the D-MUX 200, as well as, the transmitter 210 and the receiver 212 may be eliminated from the system 100 entirely, which may reduce overall system cost, power usage, and chip area. Second, because the T-CON 125 may have simultaneous access to both the current and the new GPU data prior to performing the switch, the T-CON 125 may not need to re-lock to the timing signal of the new GPU each time the T-CON 125 switches between GPUs, and therefore, the time taken to switch between GPUs may be less than in the approaches that implement a separate multiplexer.

FIG. 3 illustrates GPU switching without a separate multiplexer (per the embodiment of FIG. 1). Referring to FIG. 3 in conjunction with FIG. 1, because each of the receivers 126A-126 n may be separately coupled to a respective GPU 110A-110 n, as the T-CON 125 selects among the various GPUs 110A-110 n, the T-CON 125 already may be synchronized with the timing signal of each signal. Thus, the time period T3 associated with re-locking the PLL to the new GPU (per FIGS. 2A and 2B) may be eliminated, thereby decreasing the time taken to switch between CPUs.

FIG. 4 illustrates exemplary operations that may be performed by the display system 100 during a GPU switch. In block 402, the operations may begin with the display 130 being updated from a current GPU. Next, in block 405, the T-CON 125 may determine that a switching window exists. If a switching window does not exist, then control may flow back to block 402 where the display 130 is updated from the current GPU. In some embodiments, the T-CON 125 may determine in the current GPU blanking that a switching window exists.

Referring again to FIG. 4, in the event that the T-CON 125 does detect that a switching window exists, control may flow to block 420, where the T-CON 125 may wait for the host computer 105 to request a GPU switch. As mentioned above, the GPU switch request may occur because the host computer 105 is consuming too much power or because the host computer 105 needs greater graphics processing abilities.

After the T-CON 125 indicates that a switching window exists, the T-CON 125 may enter an “expecting switch” mode and hold the present screen. For example, in one embodiment, the T-CON 125 may repaint the display 130 with an image from a frame buffer (not specifically shown in FIG. 1) repetitively until the T-CON 125 completes the GPU switch. This may reduce the overall number of visual artifacts resulting from a GPU switch.

Referring still to FIG. 4, as shown in block 420, in the event that the host computer 105 has yet to request a GPU switch, control may flow back to block 405, where it is determined whether a switching window exists. If, however, the host computer 105 has requested the GPU switch while the switching window exists, then the switch may be performed as shown in block 425.

Once the T-CON 125 has switched GPUs, it may wait until it sees a blanking interval in the new video data before it stops repainting the display 130 with the old image from the frame buffer and begins painting the image from the new GPU. As shown in block 430, the T-CON 125 may wait until the new GPU enters a blanking period before it begins painting the display 130 from the new GPU (as shown in block 435). In this manner, control may flow back to the block 430 while the T-CON 125 waits for the new GPU to enter a blanking period.

As mentioned previously, the GPU switch may occur during the VBI or HBI. FIG. 5 illustrates exemplary operations for performing the GPU switch during the HBI. Frames of video data may be painted on the display at a predetermined rate—e.g., 60 times per second—where a VBI may be present between successive frames. Each frame also may include a plurality of scan lines of video data in pixel form where an HBI may be present between successive scan lines. In block 520, the T-CON 125 may determine whether the current GPU is undergoing an HBI. For example, the T-CON 125 may operate on the display system's 100 timing signal (not specifically shown in the figures) and note when a predetermined number of pixels representing a scan line have been painted on the display 130 and the current GPU is in an HBI.

Switching between GPUs during an HBI may be more complicated than switching during a VBI because of synchronization of the new GPU with the correct scan line. For example, if the GPU switch occurs after the current GPU paints display scan line n, then the new GPU may need to start updating the display 130 at the beginning of the display scan line n+1. In this manner, the new GPU may need to count back the number of scan lines that have transpired since the GPU switch. Thus, if the current GPU is undergoing an HBI then a counter 510 within the T-CON 125 (shown in FIG. 1) may be incremented per block 521 to note the overall number of HBIs that have occurred since the switch to the current GPU.

Next, the T-CON 125 may determine if a switch request has occurred in block 522. As shown in FIG. 1, this switch request may come from the host computer 105, although other embodiments are possible where the switch request originates from another block within the system 100. In the event that a switch request has yet to occur, then the T-CON 125 may determine if the current GPU is still undergoing an HBI per block 523. If the current GPU is still undergoing an HBI, then control may loop back to block 522 to again determine if a switch request has occurred. If the current GPU is not still undergoing an HBI, then control may loop back to block 520, where the T-CON 125 may monitor for the condition where the current GPU enters HBI.

Referring still to block 522, in the event that a switch request has occurred, then a glitch-free GPU switch may be performed per block 524. If the new GPU has not yet reached VBI, the control may flow back to block 525 until the new GPU enters VBI. On the other hand, when the new GPU enters VBI, then the value in counter 510 may be read and used to count back the number of scan lines from the VBI for the new GPU to synchronize per block 530. As shown, control may loop back to block 525 until the new GPU is in VBI. In other words, the value in counter 510 may be used as an offset from the VBI to determine the location in the frame of video data from which the new GPU should start painting data so that a glitch free switch occurs on the display 130. After this synchronization, the T-CON 125 may use the new GPU to drive the display 130. 

What is claimed is:
 1. A system, comprising: a display; a host computer; a plurality of graphics processing units (GPUs), wherein each GPU of the plurality of GPUs is configured to generate a respective one of a plurality of video image signals; and a timing controller coupled to the host computer and the plurality of GPUs, wherein the timing controller is configured to: receive the plurality of video image signals; process each video image signal of the plurality of video image signals; send a first processed video image signal to the display; select a second processed video image signal dependent upon a power consumption of a respective one of the plurality of GPUs; and send the selected second processed video image signal to the display.
 2. The system of claim 1, wherein each video image signal of the plurality of video image signals includes one or more synchronization signals.
 3. The system of claim 2, wherein to process each video image signal of the plurality of video image signals, the timing controller is further configured to determine one or more blanking intervals dependent upon the one or more synchronization signals.
 4. The system of claim 2, wherein the one or more synchronization signals include a frame synchronization signal and a lines synchronization signal.
 5. The system of claim 1, wherein to process each video image signal of the plurality of video image signals, the timing controller is further configured to translate each video image signal of the plurality of video image signals into a format compatible with the display.
 6. The system of claim 3, wherein to send the selected second processed video image signal to the display, the timing controller is further configured to switch between the first processed video image signal and the selected second processed video image signal dependent upon the blanking intervals of the selected second processed video image signal.
 7. The system of claim 2, wherein the timing controller includes at least one phase-locked loop (PLL).
 8. A method for processing video data, comprising: generating a plurality of video image signals by a respective plurality of graphics processing units (GPUs); processing each video image signal of the plurality of video image signals; sending, to a display, a first processed video image signal of the plurality of video image signals; selecting a second processed video image from the plurality of video image signals dependent upon a power consumption of a respective one of the plurality of GPUs; and sending the selected second processed video image signal to the display.
 9. The method of claim 8, wherein processing each video image signal of the plurality of video image signals comprises translating each video image signal into a format compatible with the display.
 10. The method of claim 8, wherein each video signal of the plurality of video image signals includes one or more synchronization signals.
 11. The method of claim 10, wherein processing each video image signal of the plurality of video image signals comprises determining one or more blanking intervals for each video image signal dependent upon the included one or more synchronization signals.
 12. The method of claim 10, wherein the one or more synchronization signals includes a frame synchronization signal and a line synchronization signal.
 13. The method of claim 11, wherein selecting a second processed video image signal comprises switching between the first processed video image signal and the second processed video image signal dependent upon the one or more blanking intervals of the second processed video image signal.
 14. The method of claim 8, wherein processing each video image signal of the plurality of video image signals comprises phase-locking a respective plurality of internal signals to the plurality of video image signals.
 15. A timing controller coupled to a plurality of graphics processing units (GPUs), comprising: a plurality of receiver units, wherein each receiver unit is configured to receive a respective one of the plurality of video image signals, wherein each video image signal of the plurality of video image signals is generated by a respective one of the plurality of GPUs; and circuitry configured to: process each video image signal of the received plurality of video image signals; send a first processed video image signal to a display; select a second processed video image signal dependent upon a power consumption of a respective one of the plurality of GPUs; and send the selected second processed video image signal to the display.
 16. The timing controller of claim 15, wherein each receiver of the plurality of receivers includes a phase-locked loop.
 17. The timing controller of claim 15, wherein each video image signal of the plurality of video image signals includes one or more synchronization signals.
 18. The timing controller of claim 17, wherein to process each video image signal of the plurality of video image signals, the circuitry is further configured to determine one or more blanking intervals for each video image signal of the plurality of video image signals dependent upon the included one or more synchronization signals.
 19. The timing controller of claim 15, wherein the one or more synchronization signals include a frame synchronization signal and a line synchronization signal.
 20. The timing controller of claim 18, wherein to select a second processed video image, the timing controller is further configured to switch between the first processed video image signal and the selected second processed video image signal dependent upon the blanking intervals of the selected second processed video image signal. 